#pragma once
#include "GraphDrawBase.h"
#include "GraphDefine.h"
#include <string>

class CGraphKLine : public CGraphDrawBase
{
public:
	CGraphKLine(void);
	virtual ~CGraphKLine(void);

	virtual AGraphDateBase* GetGrapData(std::string strStockCode);
	virtual bool GetValueRange(std::string strStrockCode, std::string strStartDate, std::string strEndDate, 
		double& dMin, double& dMax);
protected:
	void AddPoint(AGraphKLine* pKline, char* strDate,char* strShow,
		double dLow,double dHeight,double dOpen,double dClose);
};
